package javagram.ceneric;

/**
 * @description:
 * @author: zk
 * @since: 2022-09-28 10:26
 */
public class GenericClassTest {
    public static void main(String[] args) {
        GenericClass<String> genericClass = new GenericClass<>("泛型类");
        String classValue = genericClass.getValue();
        System.out.println(classValue);

        GenericClass<Integer> genericClass1 = new GenericClass<>(123);
        Integer value = genericClass1.getValue();
        System.out.println(value);

    }
}
